package com.jwthhealth_pub.old.diet.moudel;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/12/28.
 */

public class DietThiModule implements Serializable{


    /**
     * code : 0
     * msg : 获取成功
     * data : [{"id":"58","lid":"58","name":"土茯苓","type":"1","typename":"食材","desc":[{"name":"别名","desc":["白余粮、奇良、奇粮、仙遗粮、过冈龙。"]},{"name":"性味","desc":["甘、淡，平。"]},{"name":"功效","desc":["除湿、解毒、通利关节。"]},{"name":"性状特征","desc":["本品略呈圆柱形，表面黄棕色或灰褐色，凹凸不平，质坚硬。切面类白色至淡红棕色，粉性，折断时有粉尘飞扬，以水湿润后有黏滑感。无臭，味 微甘、涩。"]},{"name":"主治病症","desc":["湿热淋浊、带下、痈肿、瘰疬、疥癣、梅毒及汞中毒所致的肢体拘挛、筋骨疼痛，还有急性菌痢、银屑病、牛皮癣。"]}],"short_desc":"[别名]粉丹皮、炒丹皮","create_at":"2016-12-27 16:14:18","pic_path":"http://192.168.1.206/images/hdnj-52.png"}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 58
         * lid : 58
         * name : 土茯苓
         * type : 1
         * typename : 食材
         * desc : [{"name":"别名","desc":["白余粮、奇良、奇粮、仙遗粮、过冈龙。"]},{"name":"性味","desc":["甘、淡，平。"]},{"name":"功效","desc":["除湿、解毒、通利关节。"]},{"name":"性状特征","desc":["本品略呈圆柱形，表面黄棕色或灰褐色，凹凸不平，质坚硬。切面类白色至淡红棕色，粉性，折断时有粉尘飞扬，以水湿润后有黏滑感。无臭，味 微甘、涩。"]},{"name":"主治病症","desc":["湿热淋浊、带下、痈肿、瘰疬、疥癣、梅毒及汞中毒所致的肢体拘挛、筋骨疼痛，还有急性菌痢、银屑病、牛皮癣。"]}]
         * short_desc : [别名]粉丹皮、炒丹皮
         * create_at : 2016-12-27 16:14:18
         * pic_path : http://192.168.1.206/images/hdnj-52.png
         */

        private String id;
        private String lid;
        private String name;
        private String type;
        private String typename;
        private String short_desc;
        private String create_at;
        private String pic_path;
        private List<DescBean> desc;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLid() {
            return lid;
        }

        public void setLid(String lid) {
            this.lid = lid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTypename() {
            return typename;
        }

        public void setTypename(String typename) {
            this.typename = typename;
        }

        public String getShort_desc() {
            return short_desc;
        }

        public void setShort_desc(String short_desc) {
            this.short_desc = short_desc;
        }

        public String getCreate_at() {
            return create_at;
        }

        public void setCreate_at(String create_at) {
            this.create_at = create_at;
        }

        public String getPic_path() {
            return pic_path;
        }

        public void setPic_path(String pic_path) {
            this.pic_path = pic_path;
        }

        public List<DescBean> getDesc() {
            return desc;
        }

        public void setDesc(List<DescBean> desc) {
            this.desc = desc;
        }

        public static class DescBean implements Serializable{
            /**
             * name : 别名
             * desc : ["白余粮、奇良、奇粮、仙遗粮、过冈龙。"]
             */

            private String name;
            private List<String> desc;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<String> getDesc() {
                return desc;
            }

            public void setDesc(List<String> desc) {
                this.desc = desc;
            }
        }
    }
}
